package com.rainbow.validate.image

import com.rainbow.validate.ValidateCode
import java.awt.image.BufferedImage
import java.time.LocalDateTime

/**
 *rainbow
 */
class ImageCode : ValidateCode {

    var image: BufferedImage? = null

    constructor(image: BufferedImage, code: String, expireIn: Long) : super(code, expireIn) {
        this.image = image
    }

    constructor(image: BufferedImage, code: String, expireTime: LocalDateTime) : super(code, expireTime) {
        this.image = image
    }
}